package com.yuehuanghun.admin.core.mapper;

import java.util.List;

import com.yuehuanghun.admin.core.domain.SysDictData;
import com.yuehuanghun.mybatis.milu.BaseMapper;
import com.yuehuanghun.mybatis.milu.annotation.NamingQuery;

/**
 * 字典表 数据层
 * 
 * @author yadmin
 */
public interface SysDictDataMapper extends BaseMapper<SysDictData, Long> {

	@NamingQuery
	String findByDictTypeAndDictValue(String dictType, String dictValue);

	@NamingQuery
	List<SysDictData> findByDictType(String dictType);
	
	@NamingQuery
	int countByDictType(String dictType);
}
